package com.spring.arch.job.repository;

import com.spring.arch.job.model.JobGroup;
import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;

import java.util.Optional;

/**
 * JobGroup实体类对应的基础业务Repository
 */
@org.springframework.stereotype.Repository
public interface JobGroupRepository extends JpaRepositoryImplementation<JobGroup, Integer> {

    Optional<JobGroup> findByAppName(String appName);
}
